import {
  post,
  get,
  put,
  dalete,
  postJosn,
  putone,
  patch,
  daleteJson
} from '../utils/request';

//获取定制酒配置信息
export function queryGoodsCustomizeConfig(data) {
  return post('/api/goods-service/v1/goodsCustomize/queryGoodsCustomizeConfig', data);
  
}

//保存定制酒配置信息
export function updateGoodsCustomizeConfig(data) {
  return post('/api/goods-service/v1/goodsCustomize/updateGoodsCustomizeConfig', data);
  
}

//获取定制酒商品列表(分页)
export function queryCustomizeGoodsList(data) {
  return post('/api/goods-service/v1/goodsCustomize/queryCustomizeGoodsList', data);
  
}

//获取定制酒商品列表
export function queryCustomizeGoodsAllList(data) {
  return post('/api/goods-service/v1/goodsCustomize/queryCustomizeGoodsAllList', data);
  
}

//获取挑选商品列表
export function queryChooseGoodsList(data) {
  return post('/api/goods-service/v1/goodsCustomize/queryChooseGoodsList', data);
  
}

//获取定制酒商品经典案例图片列表
export function queryCustomizePicList(data) {
  return post('/api/goods-service/v1/goodsCustomize/queryCustomizePicList', data);
  
}

//删除定制酒商品
export function deleteCustomizeGoods(data) {
  return post('/api/goods-service/v1/goodsCustomize/deleteCustomizeGoods', data);
  
}

//修改定制酒商品状态
export function updateCustomizeStatus(data) {
  return post('/api/goods-service/v1/goodsCustomize/updateCustomizeStatus', data);
  
}

//批量添加定制酒商品
export function batchInsertCustomizeGoods(data) {
  return post('/api/goods-service/v1/goodsCustomize/batchInsertCustomizeGoods', data);
  
}

//批量存储定制图片
export function insertCustomizePictures(data) {
  return post('/api/goods-service/v1/goodsCustomize/insertCustomizePictures', data);
  
}

//批量存储定制图片
export function saveCustomizePrice(data) {
  return post('/api/goods-service/v1/goodsCustomize/saveCustomizePrice', data);
  
}
